# @Time: 2025/5/3 10:22
# @Author: chenhui
import requests
from common.yaml_config import GetConf

url = GetConf().get_url()
token = "JWT eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0cmFkaW5nX3N5c3RlbSIsImlkIjoyMiwiaWF0IjoxNzQ2NjcxMjM5LCJleHAiOjE3NDcyNzYwMzl9.N4xxLfBxnhaWeScJ8EfZhImRUs4swUkojtvUbVp5p_Q"
headers = {
    "token": token
}
res = requests.get(url + "/api/router/router_list", headers=headers)
print(res.text)
